home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / animutil / daam / daam.lha / DAAM.TXT < prev    next >
Encoding:
Text File  |  1991-12-19  |  21.6 KB  |  475 lines

  1.                       DCTV Automated Animation Maker
  2.                      Copyright 1991 by Daniel J. McCoy
  3.                               August 26, 1991
  4.  
  5.  
  6.                                Introduction
  7.  
  8. Amiga users have always enjoyed being able to  produce  animations  in  the
  9. native resolutions.  Up to now, the HAM format has been the best you  could
  10. get and had certain limitations and  quirks.   Today,  new  output  devices
  11. permit higher resolutions and more colors available than the  native  Amiga
  12. display modes.  One such product is DCTV by Digital Creations.  DCTV  is  a
  13. display device that allows one to display to any  composite  output  device
  14. with the resolution and color capabilities as that of  NTSC.   Also,  since
  15. DCTV's file format is  a  modified  IFF  type,  you  can  use  any  of  the
  16. available programs to view and construct both still images  and  animations
  17. in NTSC color!  Although animations are  possible,  it  hasn't  been  easy.
  18. Most of the available products that save out to the new  IFF  24  bit  file
  19. format and don't directly support DCTV's own format  (Scenery  Animator  by
  20. Natural Graphics is an exception).  You must first  convert  the  IFF24  or
  21. Impulse's RGB8 format to DCTV's format using either the full DCTV  software
  22. or their IFFTODCTV CLI based conversion software.  When  having  a  program
  23. generate multiple frames for an animation, these IFF24 or  RGB8  files  can
  24. consume large amounts of file storage space.   Once  the  program  is  done
  25. generating, THEN you can convert the multitudes of frames  and  compile  an
  26. animation using Deluxe Paint by Electronic Arts or the  programs  available
  27. publicly like MakeAnim.  Not only can this take a lot of time, it  is  also
  28. tedious!  Several  people,  myself  included,  have  written  either  ARexx
  29. scripts or AmigaDOS scripts that help automate this  task.   These  scripts
  30. can wait for a frame to be generated and  convert  them  to  DCTV's  format
  31. once completed and then generate the animation for you once the last  frame
  32. is converted.  This allows you to render  to  RAM:  (saving  lots  of  file
  33. space and speeding up the rendering time) and save only  the  DCTV  images.
  34. ARexx and AmigaDOS scripts are fine for  those  comfortable  with  the  CLI
  35. environment.  Others wish for a user interface of some sort.  Enter DAAM.
  36.  
  37. DAAM was constructed using CanDo 1.5 by INNovatronics.  Without having  any
  38. Amiga programming knowledge whatsoever, you can make complete  applications
  39. that are freely distributable and even sellable!  One drawback is that  you
  40. either need the CanDo.library or you have CanDo tack  on  this  library  to
  41. your application, make it  at  least  128K  in  size.   Since  most  people
  42. dealing with  animations  already  have  many  megabytes  of  memory,  this
  43. shouldn't cause grief (and if it does, either buy more memory, wait for  me
  44. to write this in C or by all means, do it yourself!).  DAAM will  wait  for
  45. Imagine  (Impulse),  Animation  JourneyMan  (Hash  Interprises),  LightWave
  46. (NewTek) or VistaPro (Virtual Reality Lab) to generate  frames,  converting
  47. them to DCTV frames using IFFTODCTV, storing  the  DCTV  frames  where  you
  48. want them, either moving or deleting the original 24  bit  file,  and  even
  49. creates an animation once the last frame is converted using MakeAnim.   You
  50. also have the capability of having DAAM wait for one  specific  frame  over
  51. and over again to try out settings in the rendering program.   The  picture
  52. is displayed using a IFF view of your choice (as long as it's  named  SHOW)
  53. once completed and the wait continues  until  you  abort  it.   DAAM  isn't
  54. limited to waiting for Imagine, JourneyMan, LightWave  and  VistaPro.   You
  55. could have files you need to convert already  complete.   Tell  DAAM  where
  56. they are and what the source program is and let it  convert  and  construct
  57. an ANIM for you.
  58.  
  59.                                Requirements
  60.  
  61. * Any Amiga with the requirements the rendering program.  DAAM works under
  62.   Kickstart 1.3 and 2.0.
  63. * You need the following in the directory DAAM is in or in your C:
  64.   directory.
  65.   * IFFTODCTV from Digital Creations.
  66.   * MakeAnim by Right Answers, Inc.
  67.   * ANY IFF viewing program as long as it is named SHOW in the
  68.     directory.
  69. * CanDo.library in your Libs: directory OR use DAAM-FULL that has the
  70.   CanDo.library embedded in the application.
  71.  
  72.  
  73.                               Installing DAAM
  74.  
  75. To install DAAM, all you need to do is drag either the drawer icon  to  the
  76. directory you would like it in or drag the application where you  want  it.
  77. There are two programs, one named DAAM and the  other  DAAM-Full.   If  you
  78. own CanDo V1.5 and the CanDo.library is in your LIBS: directory, use  DAAM.
  79. This will allow  you  to  run  more  than  one  CanDo  application  without
  80. consuming lots of memory.  Those who  don't  have  the  CanDo.library,  use
  81. DAAM-Full.  Selecting the wrong one  will  give  you  a  warning  that  the
  82. CanDo.library doesn't exist.  Don't forget  to  have  IFFTODCTV,  MakeAnim,
  83. and a program called SHOW in your C: directory or  in  the  directory  with
  84. DAAM.
  85.  
  86.                                 Using DAAM
  87.  
  88. To use DAAM, simply click on the icon or call it from CLI.   A  new  screen
  89. will open up.  You will see three separate sections.  I'll start  with  the
  90. section in the top left hand corner of the screen.
  91.  
  92. -> Source Program
  93. The button to the right of this text  is  the  program  you  are  using  to
  94. generate frames.  Imagine, Animation  JourneyMan,  LightWave  and  VistaPro
  95. are supported.  Simply click on the Source Program button to cycle  through
  96. the three different options.  You will notice other fields may change  when
  97. you cycle through.
  98.  
  99. -> Reprocessing?
  100. This button allows you to have DAAM  reprocess  previously  converted  DCTV
  101. frames.  Say you built an animation in  four  bit  planes  and  you  aren't
  102. satisfied with the playback speed.  Selecting the source program  you  used
  103. to generate the frames  in  the  first  place,  toggling  this  button  ON,
  104. selecting three  bit  planes  and  selecting  DO  IT!  will  reconvert  all
  105. previously generated DCTV frames to three bit  planes.   This  button  will
  106. also append ".dctv" to  the  Extension  field.   DAAM  doesn't  rename  the
  107. original DCTV file so IFFTODCTV will tag another ".dctv" to the end of  the
  108. filename.  Perhaps in the future, I'll add renaming...
  109.  
  110. -> Input Path
  111. Input Path is the path and base file name your  source  program  is  saving
  112. the frames to.  Clicking on the button pulls out  a  CanDo  file  requestor
  113. that allows you to specify this path and base file name.  Clicking  on  the
  114. text field to the right of this  button  allows  you  to  bypass  the  file
  115. requestor and enter what you want.   One  note  here.   Imagine  saves  out
  116. frames with a base file name of "pic." with  "0001"  appended  to  indicate
  117. frame one.  You don't have to enter in "pic." and DAAM will filter out  any
  118. file name entry.  It will only accept the  path.   LightWave  and  VistaPro
  119. allow a base file name to be entered.  You will need  to  enter  this  base
  120. file name in either the file requestor or text field.   Don't  include  the
  121. frame numbers or DAAM will look for the wrong file name. 
  122.  
  123. -> Output Path
  124. This is the path where IFFTODCTV will save the DCTV  files  to.   Clock  on
  125. the button for a file requestor or enter the path in the text field to  the
  126. right of the button.
  127.  
  128. -> Move Path
  129. This path entry is  used  when  the  "Move  Frames  When  Done"  option  is
  130. selected.  Your original 24 bit frames will be moved to the path  specified
  131. after conversion allowing you to render to RAM: and save the 24  bit  frame
  132. where you want.  Press the Move Path button for the file requestor  or  use
  133. the text field to the right.
  134.  
  135. -> Anim Path
  136. This path and file name entry is used to tell MakeAnim  where  to  put  the
  137. animation you can have DAAM generate.  Just  as  the  above  path  options,
  138. press the button for a file requestor or use the text field on  the  right.
  139. Remember to specify a file name.
  140.  
  141. -> Extension
  142. This field is for programming some sort of filename and extension for  DAAM
  143. to use.  Notice that when you cycle through the  source  program  settings,
  144. the text in this field changes.
  145.  
  146.      Imagine    = pic.%4
  147.      JourneyMan = .%1
  148.      LightWave  = %3
  149.      VistaPro   = .%3
  150.  
  151. The number after the "%" instructs DAAM to insert the file count  with  the
  152. value specifying the frame count length padded with zeros if  greater  than
  153. one.  For example.  For Imagine, DAAM would start waiting  for  "pic.0001".
  154. Changing the extension to "pic.%3.blah" would cause DAAM to  start  waiting
  155. for "pic.001.blah".  Notice that when Reprocessing? is toggled on,  ".dctv"
  156. gets appended to whatever is in this field.
  157.  
  158. -> Start
  159. This numeric entry is the start frame to have DAAM wait for.   This  should
  160. be the same start frame as the program you are using to render the frames.
  161.  
  162. -> End
  163. This numeric entry is the end from that DAAM will stop  waiting  at.   This
  164. should be the same as the end  frame  as  the  program  you  are  using  or
  165. whatever you want.  It can't be less than Start.
  166.  
  167. -> Step
  168. This numeric entry is use to indicate the step rate the program  is  using.
  169. A value of 1 means  that  frames  are  created  in  increments  of  1.   By
  170. specifying 2, your program may start from frame 1 and go to  frame  17  and
  171. skip the even frames.
  172.  
  173. Now for the box on the upper right corner.  These are the  parameters  used
  174. for IFFTODCTV.
  175.  
  176. -> Screen (Presets) 
  177. Selecting this button cycles through preset heights and  widths.   Pressing
  178. either SHIFT button while clicking on the preset cycle  gadget  allows  you
  179. to cycle backwards through the settings.
  180.  
  181. The presets are:
  182.  
  183. HiRes Lace OScan   = 704 x 482 (High res, interlace, normal overscan)
  184. HiRes Lace SOscan  = 736 x 482 (High res, interlace, severe overscan)
  185. HiRes Lace HOScan  = 704 x 400 (High res, interlace, horizontal overscan)
  186. HiRes Lace SHOScan = 736 x 400 (High res, lace, severe horiz overscan)
  187. HiRes Lace VOScan  = 640 x 482 (High res, interlace, vertical overscan)
  188. HiRes Lace         = 640 x 400 (High res, interlace)
  189. HiRes OScan        = 704 x 241 (High res, normal overscan)
  190. HiRes SOScan       = 736 x 241 (High res, severe overscan)
  191. HiRes HOScan       = 704 x 200 (High res, horizontal overscan)
  192. HiRes SHOScan      = 736 x 200 (High res, severe horizontal overscan)
  193. HiRes VOScan       = 640 x 241 (High res, vertical overscan)
  194. HiRes              = 640 x 200 (High res)
  195.  
  196. The Width and Height fields and  Interlace  button  are  set  when  cycling
  197. through the presets.
  198.  
  199. -> Width
  200. This numeric entry specifies the screen width IFFTODCTV will save the  file
  201. to.  Limits are : 640 to 736.  Once a value  is  entered,  it  is  compared
  202. against the presets.  A match in both width and height will set the  preset
  203. text.  No match results in "Custom" being displayed.
  204.  
  205. -> Height
  206. This numeric entry specified the screen  height  IFFTODCTV  will  save  the
  207. file to.  Limits are 200 to 241 with the Interlace turned off, 400  to  482
  208. with Interlace turned on.  Like  Width  above,  a  value  entered  here  is
  209. compared against the presets.  If a match is found, the  preset  text  will
  210. be set to appropriate preset text.  No  match  results  in  "Custom"  being
  211. displayed.
  212.  
  213. -> Interlace
  214. This toggle button is used to toggle interlace  on  and  off.   The  Preset
  215. text will change if required.
  216.  
  217. -> Bit Planes
  218. IFFTODCTV can save the DCTV frame  in  either  3  bit  planes  or  4.   The
  219. defaults is 4.
  220.  
  221. -> Filter
  222. This tells the IFFTODCTV program to filter out bad color values that  don't
  223. look right under NTSC.  The default is ON.
  224.  
  225. -> Center
  226. This tells the IFFTODCTV program to center the frames instead  of  aligning
  227. the frame to the top left corner.  The default is OFF.
  228.  
  229. Now for the third and last box...
  230.  
  231. -> Delete frames when done?
  232. With this box selected, DAAM  will  delete  the  original  frame  once  the
  233. conversion is done.  Of course, when this box isn't selected, the  original
  234. files are left intact.
  235.  
  236. -> Move frames when done?
  237. With this box selected, DAAM will move  the  original  frame  to  the  path
  238. specified with the Move Path button or text  field.   This  allows  you  to
  239. render to RAM:, saving time, and then moving the original frame  for  later
  240. use.
  241.  
  242. -> Continuous Start frame show?
  243. With this box selected, DAAM will convert the original frame and then  call
  244. SHOW to display the DCTV image once the  Start  frame  is  complete.   This
  245. allows you to have DAAM sit in the background waiting for the  Start  frame
  246. so you can try out settings in the rendering program.  Once  the  frame  is
  247. rendered, DAAM has the frame converted and shown and  the  waiting  process
  248. begun again so you can continue to fine tune settings.   Note  that  either
  249. Delete frames or Move frames MUST be selected in order to use this  option.
  250. If this option is selected and you select both Delete  and  Move  frame  is
  251. deselected, this option will automatically be deselected.
  252.  
  253. -> Do NOT convert when done?
  254. If you don't want to convert  the  24  bit  files  just  yet,  select  this
  255. option.  This allows you to render to RAM  and  move  the  files  elsewhere
  256. without converting the frames to DCTV format.
  257.  
  258. -> Generate ANIM when done?
  259. If you want DAAM to call MakeAnim once the last frame is  complete,  select
  260. this option.  Do have a path and file name  specified  as  mentioned  above
  261. (see: Anim Path).
  262.  
  263. -> Looping ANIM?
  264. This instructs MakeAnim to create a looping animation by tagging the  first
  265. two frames to the end of the animation.
  266.  
  267. -> Delete DCTV frames?
  268. Selecting this instructs DAAM to delete all DCTV frames once the  animation
  269. generation process is complete leaving only the animation.
  270.  
  271. At the bottom of the window, the following buttons exist.
  272.  
  273. -> DO IT!
  274. Pressing this instructs DAAM to start the  waiting/conversion  process.   A
  275. requester will open up giving you the current status and a  gadget  at  the
  276. button to abort back to the main window.
  277.  
  278. -> Save Settings
  279. Pressing this instructs DAAM to save all settings  to  S:DAAM.Config.   Use
  280. this to save your default settings  and  every  time  you  load  DAAM,  the
  281. settings will be loaded in.
  282.  
  283. -> Load Settings
  284. Pressing this has DAAM re-load the tool  type  settings  in  S:DAAM.Config.
  285. Use this when you've gotten lost in the settings and wish to  get  back  to
  286. your defaults.
  287.  
  288. -> About
  289. Selecting this gives you the information previously written to  the  bottom
  290. of the window.
  291.  
  292. -> Quit
  293. Does just what it says.  Press this and bye-bye DAAM.
  294.  
  295. That's it!  Use this and sit back while creating animations!
  296.  
  297. DAAM is shareware and may be distributed anywhere.  I  reserve  all  rights
  298. to this program and can't be held liable for  its  use.   If  you  wish  to
  299. distribute this with commercial products, please contact me prior to  doing
  300. so.  Send whatever you think this deserves (be  it  money,  demo  anims  on
  301. tape or disk, or even programs you have found useful to the address  below.
  302. I think that's fair.
  303.  
  304. Daniel McCoy
  305. 13324 Aetna Street
  306. Van Nuys, CA  91401
  307.  
  308. I can also be reached on the following systems:
  309.  
  310. CompuServe : 73617,2626
  311. Bix        : dmccoy
  312. Portal     : Daniel J McCoy
  313.  
  314. and I frequently call the following BBS:
  315. Mike's Video House  : (818) 240-1593 or (818) 240-5769
  316.  
  317. Those with DCTVs and a modem and don't mind the toll call, call The  Summit
  318. at 1-916-649-3288, a hangout for  many  other  DCTV  owners  with  tons  of
  319. worthwhile messages and files.  Also, those with HST compatible modems  can
  320. call at higher baud rates.
  321.  
  322. All products are registered with their respective company.
  323.  
  324. My thanks to those at KJ Computers (Greg,  Jim,  Mike,  Pat  and  Tim)  for
  325. putting up with  me  and  for  their  ideas.   Some  of  the  ideas  aren't
  326. implemented yet but perhaps in the future.  Now that I'm happy  with   what
  327. this does, it's time for  me  to  render  too.   Last,  thanks  to  Digital
  328. Creations for putting the wonderful black box on the market!
  329.  
  330. -------------------------------------------------------------------------
  331.  
  332. Software Changes:
  333. 0.20 - Initial release to the public.
  334. 0.21 - Changes have been made here and there...
  335.        * You no longer have to append a "/" when entering a path using the
  336.          text field instead of the requestor.
  337.        * Screen to back (BACK) button in the DO IT! requestor.
  338.        * Change made to how the status in the DO IT! requestor is
  339.          displayed.  Most of my debugging was under 2.0.  Under 2.0, the
  340.          screen refreshing is quicker than under 1.3.  Once I saw the
  341.          speed 1.3 (or lack thereof) was displaying the text, I HAD to
  342.          change it!
  343.        * Some cleanup and removal of unneeded routines in CanDo.
  344.        * "SYS:C/" was added to DOS function calls DELETE and COPY just
  345.          in case the path to C: is not defined.
  346.        * When doing VistaPro conversions, the Status window wouldn't
  347.          display that it was at frame 0.  Fixed...
  348. 0.22 - * DAAM no longer opens up on a custom screen.  It'll open up on
  349.          WorkBench instead.  Not everyone has either 2.0 or utilities that
  350.          permit screen flipping with the Right-Amiga-M combination.  When
  351.          DAAM is waiting and you select the BACK button, DAAM WOULD
  352.          disappear however you may not have been able to get back to
  353.          DAAM's screen!  This shouldn't happen any more.  Simply click the
  354.          backgadget as you would any normal window.  DAAM will determine
  355.          which Intuition version you are running and attempt to make the
  356.          embossed interface look correctly under 1.3 though the gadgets
  357.          won't look that great under 1.3 since I can't control those
  358.          colors like text colors.
  359.        * DCTV Default button now replaced with a rollo gadget permitting
  360.          the user to flip between presets.  Two other gadgets to the right
  361.          of the rollo gadget cycle down or up through the presets.  A
  362.          change in the Width or Height fields or the Interlace button
  363.          may change the preset text in the rollo button if the values
  364.          match a preset or "Custom" will be displayed.
  365. 0.30 - * DAAM now opens up in a slightly smaller window for those not in
  366.          interlace mode on their WorkBench.
  367.        * New button "About" will display program information.
  368.        * It was noted by a friend that the cycle gadgets I had weren't
  369.          really conforming to the new user interface style standards.
  370.          First, there was no conformation that a user pressed the gadget.
  371.          Second, pressing a shift key in addition to pressing the mouse
  372.          button should cycle backwards through the selections.  This
  373.          version addresses these two things.
  374.        * Through the use to tool type strings in the icons, it is now
  375.          possible to define your own default settings.  Settings for
  376.          everything but the Start, End and Skip fields are possible.
  377.          Two new buttons are added that allow you to save or load in
  378.          settings.  Selecting "Save Settings" will set all the tool types
  379.          for you.  "Load Settings" is provided to get you back to your
  380.          favorite settings.  Also, since the icon is modified, I moved
  381.          DAAM and DAAM-Full to their own drawers.  Inside the DAAM-Full
  382.          drawer is the version non-CanDo owners can use named as DAAM.
  383.        * Updated this file to new changes and editing that I should have
  384.          done earlier.
  385. 1.00 - * Revision to reflect that I'm happy with DAAM.  Little feedback
  386.          regarding problems so I'm assuming it works well for all.
  387.        * Config file now saved to S:DAAM.Config instead of in .info file.
  388.        * Start, End, and Step values saved in config file now.
  389.        * New button for allowing reprocessing of DCTV images (for changing
  390.          bit planes and such) without having to rename all previously
  391.          converted files.  Status saved in config file.
  392.        * New text field "Extensions".  DAAM can try looking for files you
  393.          specify.  Not totally programmable but at least it's something.
  394.          The text is saved in the config file for later loading.
  395.        * DAAM builds the MakeAnim file list as T:Anim-List.  It used to be
  396.          deleted when the anim was completed.  Now it's not so you can
  397.          play around with it.
  398.        * Back to a custom screen.  This time, you have real front/back
  399.          gadgets!
  400.          Note : Prior to WB2.0, there was a problem in flipping between
  401.                 interlace and non-interlaced screens that COULD cause
  402.                 system lockup.  I suggest finding a program called
  403.                 "FixIntuition" if you're not running WB2.0.  That'll fix
  404.                 the problem.
  405.        * Animation JourneyMan added to the list of source programs.
  406.        * Renamed ADAM to DAAM.  Got a better name I could use?  My creative
  407.          juices are not coming up with anything.  Not sure on the legalities
  408.          but "ADAM" was trademarked by Coleco.  I've noticed PhoneMate using
  409.          ADAM by lisencing the name through Coleco.
  410.  
  411. ---------------------------------------------------------------------------
  412.  
  413.                                  * Notes *
  414.  
  415. Although I haven't received much feedback via mail  and  direct  e-mail,  I
  416. have noticed that quite a few  people  are  using  DAAM  without  problems.
  417. Others report problems but later find out what was wrong.
  418.  
  419. * One user was trying to run DAAM on one  Amiga  while  another  Amiga  was
  420. generating the frames.  He was using ParNet or  SerNet.   The  problem  was
  421. that DAAM would start converting even though the  file  was  NOT  finished.
  422. Simply running DAAM on the same  machine  as  the  3D  program  solved  the
  423. problem.  I don't have two Amigas so  I  can't  find  another  solution  to
  424. this.
  425.  
  426. * Another user reported that  his  system  crashed  when  using  DAAM.   It
  427. turned out to be that he didn't have enough memory.  Stopping the  startup-
  428. sequence and running DAAM from CLI without Workbench  being  loaded  helped
  429. out.
  430.  
  431. * IFFTODCTV can't handle spaces in the paths or filenames.   Try  to  avoid
  432. file paths and filenames that have a space in  them  (ie:  Ram  Disk:).   I
  433. tried putting quotes around every thing but no luck.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.